<div class="col-md-12">

	<div class="panel panel-default mt20">
		<div class="panel-body">
			<div class="form-group">
				<div class="col-sm-12">
					<div class="row">
						<div class="col-sm-2">
							<input type="text" class="form-control" ng-model="searchform.login_name" ng-keyup="myKeyup($event)" placeholder="账号">
						</div>
						<div class="col-sm-2 pull-right">
							<button class="btn btn-info btn-block" ng-click="load()">立即搜索</button>
						</div>
						<div class="col-sm-2 pull-right">
							<button class="btn btn-info btn-block" ng-click="addPermission()">创建菜单权限</button>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<!-- searchArea -->


	<div class="panel panel-default">
		<div class="panel-body">
			<table class="table table-bordered">
				<thead>
					<tr>
						<th class="text-center col-md-2">账号</th>
						<th class="text-center col-md-1">产品零售</th>
						<th class="text-center col-md-1">批量售卖</th>
						<th class="text-center col-md-1">换票/验票</th>
						<th class="text-center col-md-1">退票申请</th>
						<th class="text-center col-md-1">历史查询</th>
						<th class="text-center col-md-1">营销统计</th>
            <th class="text-center col-md-1">会员专区</th>
            <th class="text-center col-md-1">系统设置</th>
            <th class="text-center col-md-2">操作</th>
					</tr>
				</thead>
				<tbody>
					<tr ng-repeat="obj in objs">
						<td class="text-center">{{obj.login_name}}</td>
						<td class="text-center">
							<p ng-show="obj.saleone==0" class="form-control-static">无权限</p>
							<p ng-show="obj.saleone==1" class="form-control-static">有权限</p>
            </td>
						<td class="text-center">
              <p ng-show="obj.salemore==0" class="form-control-static">无权限</p>
							<p ng-show="obj.salemore==1" class="form-control-static">有权限</p>
            </td>
            <td class="text-center">
              <p ng-show="obj.change_ticket==0" class="form-control-static">无权限</p>
							<p ng-show="obj.change_ticket==1" class="form-control-static">有权限</p>
            </td>
            <td class="text-center">
              <p ng-show="obj.back_ticket==0" class="form-control-static">无权限</p>
							<p ng-show="obj.back_ticket==1" class="form-control-static">有权限</p>
            </td>
            <td class="text-center">
              <p ng-show="obj.find_oldorder==0" class="form-control-static">无权限</p>
							<p ng-show="obj.find_oldorder==1" class="form-control-static">有权限</p>
            </td>
            <td class="text-center">
              <p ng-show="obj.sale_ticket==0" class="form-control-static">无权限</p>
							<p ng-show="obj.sale_ticket==1" class="form-control-static">有权限</p>
            </td>
            <td class="text-center">
              <p ng-show="obj.vip_place==0" class="form-control-static">无权限</p>
							<p ng-show="obj.vip_place==1" class="form-control-static">有权限</p>
            </td>
            <td class="text-center">
              <p ng-show="obj.sys_sttings==0" class="form-control-static">无权限</p>
							<p ng-show="obj.sys_sttings==1" class="form-control-static">有权限</p>
            </td>
						<td class="text-center">
							<button type="submit" class="btn btn-success input-sm" ng-click="edit(obj)">详情</button>
						</td>
					</tr>
				</tbody>
			</table>


			<div class="text-right">

				<pagination total-items="bigTotalItems" ng-model="bigCurrentPage" ng-change="load()" previous-text="上一页" next-text="下一页"
				 first-text="首页" last-text="尾页" max-size="5" boundary-links="true" rotate="false" items-per-page="itemsPerPage"
				 class="m-t-none m-b">
				</pagination>
			</div>
		</div>
	</div>
</div>